package cn.service.impl;

import cn.entity.Transfer;
import cn.mapper.TransferMapper;
import cn.service.TransferService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

@Service
@Transactional//开启事务
public class TransferServiceImpl extends BaseServiceImpl<Transfer> implements TransferService {
    @Autowired
    TransferMapper transferMapper;
    @Override
    public List<Map<String, Object>> detailList(Long id) {
        return transferMapper.detailList(id);
    }
}
